package com.yikes.yygh.controller.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 *
 * </p>
 *
 * @Author: guanrong.yin
 * @Date: 2025/5/3 21:14
 */
@Getter
@Setter
@ToString
public class DictAddForm {

    @NotNull(message = "上级id不能为空")
    @Schema(description = "上级id")
    private Long parentId;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "值")
    private Long value;

    @Schema(description = "编码")
    private String dictCode;

}
